package com.suliao.home.serviceImpl.industry;

import com.suliao.home.entity.industry.ExhibitionShowDO;
import com.suliao.home.mapper.industry.ExhibitionShowMapper;
import com.suliao.home.service.industry.ExhibitionShowService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author： M1nG-CodeGenerator
 * @since： 2020-12-14 16:10:11
 * @description： 展厅表 服务实现类
 * @version： 1.0
 */
@Service
public class ExhibitionShowServiceImpl extends ServiceImpl<ExhibitionShowMapper, ExhibitionShowDO> implements ExhibitionShowService {

    @Autowired
    private ExhibitionShowMapper exhibitionShowMapper;

    /**
     * 通过公司id获取展厅数据
     * @param CompanyId
     * @return
     */
    @Override
    public ExhibitionShowDO getExhibitionShowByCompanyId(Integer CompanyId) {
        return exhibitionShowMapper.getExhibitionShowByCompanyId(CompanyId);
    }
}
